package com.example.pharmacy.mapper;

import com.example.pharmacy.model.UserHistoryOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: asus
 * Date: 2024-12-21
 * Time: 22:07
 */
@Mapper
public interface UserHistoryOrderMapper {
    @Select("select * from user_order_history_view where order_id = #{orderId}")
    List<UserHistoryOrder> selectByOrderId(Integer orderId);
}
